package com.sundi.ecmarket.dto;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class BrandDto{

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 品牌商名称
     */
    private String name;

    /**
     * 品牌商简介
     */
    private String desc;



    @TableField("sort_order")
    private Integer sortOrder;

    /**
     * 品牌商的商品低价，仅用于页面展示
     */
    @TableField("floor_price")
    private BigDecimal floorPrice;

    /**
     * 逻辑删除
     */
    private Integer deleted;

    /**
     * 品牌商页的品牌商图片
     */
    @TableField("pic_url")
    private String picUrl;

    private Integer pageNo;

    private Integer pageSize;

    private String[] images;

    private MultipartFile[] files;
}
